package co.edu.unal.geditor.controller.action.edit;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import javax.swing.AbstractAction;

import co.edu.unal.geditor.controller.App;

public class Delete extends AbstractAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public Delete()
	{
		super( "Delete" );

		putValue( MNEMONIC_KEY, KeyEvent.VK_DELETE );
	}
	@Override
	public void actionPerformed(ActionEvent e) {
		App.getInstance().delete();

	}

}
